package com.seawaterbt.springbootshiro.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("t_role")
@Alias("role")
public class Role implements Serializable {

    private static final long serialVersionUID = -8130816738048636164L;

    @TableId(type = IdType.AUTO)
    private Integer rid;
    private String name;
    private String description;
    private Integer status;
    private Date createTime;
    private Date updateTime;

}
